﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Reflection;
using System.Text;
using WebAnalyser.Api.Interfaces;

namespace WebAnalyser.JS
{
    public class PluginDefinition : IPluginDefinition
    {
        public string PluginName
        {
            get { return "JS Analyser Plugin"; }
        }

        public string PluginDescription
        {
            get { return "Simple JS analyser."; }
        }

        public Version PluginVersion
        {
            get { return Assembly.GetExecutingAssembly().GetName().Version; }
        }

        public Version RequiredVersion
        {
            get { return new Version(0, 0, 2, 42); }
        }

        public string DbColumnName
        {
            get { return "js"; }
        }

        public SqlDbType DbColumnType
        {
            get { return SqlDbType.NText; }
        }
    }
}
